<template>
	<web-view :webview-styles="webviewStyles" :src="url" />
</template>

<script lang="ts">
	import Vue from "vue";
	import Component from "vue-class-component";

	@Component
	export default class webView extends Vue {
		url: string = "";
		webviewStyles: AnyObject = {
			progress: {
				color: "#1ba0ff",
			},
		};
		onLoad({ url = "" }: { url: string }) {
			this.url = url;
		}
	}
</script>

<style lang="scss" scoped>
	// scss
</style>